package com.right.service;

import java.util.List;

import com.Tools.PageData;
import com.right.entity.Foods;

public interface FoodsService {
	/**
	 * 增加菜品
	 * @param foods
	 * @return
	 */
	public boolean addFoods(Foods foods);
	/**
	 * 删除菜品
	 * @param foodsid
	 * @return
	 */
	public boolean delFoods(int foodsid);
	/**
	 * 修改菜品
	 * @param foods
	 * @return
	 */
	public boolean updateFoods(Foods foods);
/**
 * 查询菜品
 * @param page
 * @param pageSize
 * @param keywords
 * @return
 */
	public PageData<Foods> getFoodsPage(int page, int pageSize, String keywords);
		
	public Foods getOneFoods(String str);
	
	public List<Foods> getFoods(String keywords);
	
	public Foods getFoodsByFoodsid(int foodsid);	
	
}
